project (TempSzyn)

cmake_minimum_required(VERSION 2.6)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Os -pipe -fomit-frame-pointer -D NVIDIA_COMPILER")
SET(OPENCL_VENDOR "NVIDIA" CACHE STRING "Use specific vendor SDK: NVIDIA, ATI, INTEL (default: NVIDIA)")

FIND_PACKAGE(OpenCL REQUIRED)

INCLUDE_DIRECTORIES( ${OPENCL_INCLUDE_DIR} )

SET(src_executable
	Source/FilesManager.cpp
	Source/Global.cpp
	Source/GPGPU.cpp
	Source/main.cpp
	Source/Podzial.cpp
	Source/TS.cpp
	Source/Temp.cpp
	Source/Zarys.cpp
)

ADD_EXECUTABLE(tempszyn ${src_executable})

TARGET_LINK_LIBRARIES(tempszyn ${OPENCL_LIBRARIES} )

